import 'package:json_annotation/json_annotation.dart';

part 'data.g.dart';


@JsonSerializable()
class data{
  data({this.username, this.nickname,this.age,this.sex,this.state,this.introduction,this.img});
  String username;
  String nickname;
  int age;
  String sex;
  int state;
  String introduction;
  String img;
  factory data.fromJson(Map<String, dynamic> json) => _$dataFromJson(json);
  Map<String,dynamic> toJson() => _$dataToJson(this);
}